m = int(input())
sum = 0
for i in range(11, m + 1):
    sum += i
print('sum =', sum)